#ifndef MOVEFREEVMARKSETTINGVIEW_H
#define MOVEFREEVMARKSETTINGVIEW_H

#include <QWidget>
#include <QObject>
#include <QObject>
#include <QTranslator>
//#include "../../CommunicateDelegate/enum.h"
#include "instructionEnum.h"
#include "globalDefine.h"

//enum E_PATH_CONTROL_STRATEGY
//{
//    E_PATH_CONTROL_STRATEGY_DIFFERENTIAL=1,
//    E_PATH_CONTROL_STRATEGY_MCCRUM=2
//};

class MoveFreeInstructionView;
class ProgramView;

namespace Ui {
class MoveFreeVmarkSettingView;
}

class MoveFreeVmarkSettingView : public QWidget
{
    Q_OBJECT

public:

    explicit MoveFreeVmarkSettingView(int styleId,QWidget *parent = 0);

    /**
     * @brief getInput          获取界面编辑数据
     */
    void getInput();

    /**
     * @brief updateView        将数据更新显示到界面
     */
    void updateView();

    /**
     * @brief changeLanguage    更改语言
     * @param language          语言编号
     */
    void changeLanguage();

    void initialDisplayStyle(int styleId);

signals:

    /**
     * @brief finishedEditInstruction       指令属性编辑完成
     */
    void finishedEditInstruction();

private slots:

    /**
     * @brief on_save_Btn_clicked           指令保存响应槽函数
     */
    void on_save_Btn_clicked();

    /**
     * @brief on_forward_Btn_clicked        返回上一页响应槽函数
     */
    void on_forward_Btn_clicked();

<<<<<<< HEAD
public:

    /**
=======
    void on_VMark_ComBox_currentIndexChanged(int index);

public:
    /**
     * @brief pathControlStrategy 轨迹控制策略
     */
    E_PATH_CONTROL_STRATEGY    pathControlStrategy;

    /**
     * @brief pointType     MOVE_FREE_POINT_TYPE                 点位类型
     */
    MOVE_FREE_POINT_TYPE pointType;

    /**
>>>>>>> dev
     * @brief programView                   指令程序主试图界面对象
     */
    ProgramView *programView;

    /**
     * @brief moveInstructionView           自由导航属性编辑界面对象
     */
    MoveFreeInstructionView *moveFreeInstructionView;

    /**
<<<<<<< HEAD
     * @brief vmarkTypeNum                  Vmark类型编号
     */
    int vmarkTypeNum;
=======
     * @brief typeIndex                     点位类型索引
     */
    int typeIndex;
>>>>>>> dev

    /**
     * @brief laserTypeNum                  激光探测类型
     */
    int laserTypeNum;

    /**
     * @brief jmpLbValue                    异常跳转标签
     */
    QString jmpLbValue;

private:
    Ui::MoveFreeVmarkSettingView *ui;

    /**
     * @brief translator                    翻译
     */
    QTranslator translator;
};

#endif // MOVEFREEVMARKSETTINGVIEW_H
